.class public Lcom/estrongs/fs/a;
.super Ljava/lang/Object;
.source "AbsFileObject.java"

# interfaces
.implements Lcom/estrongs/fs/g;


# instance fields
.field protected a:Lcom/estrongs/fs/l;

.field protected b:Ljava/lang/String;

.field protected c:Ljava/lang/String;

.field protected d:Ljava/lang/String;

.field protected e:J

.field protected f:J

.field protected g:J

.field protected h:Lcom/estrongs/android/util/TypedMap;

.field protected i:Z

.field protected j:Ljava/lang/String;

.field protected k:I

.field protected l:Z

.field private m:Z

.field private n:Z

.field private o:Z


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    sget-object v0, Lcom/estrongs/fs/l;->M:Lcom/estrongs/fs/l;

    iput-object v0, p0, Lcom/estrongs/fs/a;->a:Lcom/estrongs/fs/l;

    const-wide/16 v0, -0x1

    .line 3
    iput-wide v0, p0, Lcom/estrongs/fs/a;->e:J

    .line 4
    iput-wide v0, p0, Lcom/estrongs/fs/a;->f:J

    .line 5
    iput-wide v0, p0, Lcom/estrongs/fs/a;->g:J

    const/4 v0, 0x0

    .line 6
    iput-object v0, p0, Lcom/estrongs/fs/a;->h:Lcom/estrongs/android/util/TypedMap;

    const/4 v0, 0x0

    .line 7
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->i:Z

    const/4 v0, -0x2

    .line 8
    iput v0, p0, Lcom/estrongs/fs/a;->k:I

    const/4 v0, 0x1

    .line 9
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->l:Z

    .line 10
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->m:Z

    .line 11
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->n:Z

    .line 12
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->o:Z

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;)V
    .locals 2

    .line 27
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 28
    sget-object v0, Lcom/estrongs/fs/l;->M:Lcom/estrongs/fs/l;

    iput-object v0, p0, Lcom/estrongs/fs/a;->a:Lcom/estrongs/fs/l;

    const-wide/16 v0, -0x1

    .line 29
    iput-wide v0, p0, Lcom/estrongs/fs/a;->e:J

    .line 30
    iput-wide v0, p0, Lcom/estrongs/fs/a;->f:J

    .line 31
    iput-wide v0, p0, Lcom/estrongs/fs/a;->g:J

    const/4 v0, 0x0

    .line 32
    iput-object v0, p0, Lcom/estrongs/fs/a;->h:Lcom/estrongs/android/util/TypedMap;

    const/4 v0, 0x0

    .line 33
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->i:Z

    const/4 v0, -0x2

    .line 34
    iput v0, p0, Lcom/estrongs/fs/a;->k:I

    const/4 v0, 0x1

    .line 35
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->l:Z

    .line 36
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->m:Z

    .line 37
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->n:Z

    .line 38
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->o:Z

    .line 39
    iput-object p1, p0, Lcom/estrongs/fs/a;->b:Ljava/lang/String;

    .line 40
    iput-object p1, p0, Lcom/estrongs/fs/a;->c:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Lcom/estrongs/fs/l;)V
    .locals 0

    .line 43
    invoke-direct {p0, p1}, Lcom/estrongs/fs/a;-><init>(Ljava/lang/String;)V

    .line 44
    iput-object p2, p0, Lcom/estrongs/fs/a;->a:Lcom/estrongs/fs/l;

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    .line 13
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 14
    sget-object v0, Lcom/estrongs/fs/l;->M:Lcom/estrongs/fs/l;

    iput-object v0, p0, Lcom/estrongs/fs/a;->a:Lcom/estrongs/fs/l;

    const-wide/16 v0, -0x1

    .line 15
    iput-wide v0, p0, Lcom/estrongs/fs/a;->e:J

    .line 16
    iput-wide v0, p0, Lcom/estrongs/fs/a;->f:J

    .line 17
    iput-wide v0, p0, Lcom/estrongs/fs/a;->g:J

    const/4 v0, 0x0

    .line 18
    iput-object v0, p0, Lcom/estrongs/fs/a;->h:Lcom/estrongs/android/util/TypedMap;

    const/4 v0, 0x0

    .line 19
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->i:Z

    const/4 v0, -0x2

    .line 20
    iput v0, p0, Lcom/estrongs/fs/a;->k:I

    const/4 v0, 0x1

    .line 21
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->l:Z

    .line 22
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->m:Z

    .line 23
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->n:Z

    .line 24
    iput-boolean v0, p0, Lcom/estrongs/fs/a;->o:Z

    .line 25
    iput-object p1, p0, Lcom/estrongs/fs/a;->b:Ljava/lang/String;

    .line 26
    iput-object p2, p0, Lcom/estrongs/fs/a;->c:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/fs/l;)V
    .locals 0

    .line 41
    invoke-direct {p0, p1, p2}, Lcom/estrongs/fs/a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 42
    iput-object p3, p0, Lcom/estrongs/fs/a;->a:Lcom/estrongs/fs/l;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Ljava/lang/Object;
    .locals 1

    .line 6
    iget-object v0, p0, Lcom/estrongs/fs/a;->h:Lcom/estrongs/android/util/TypedMap;

    if-eqz v0, :cond_0

    .line 7
    invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    return-object p1

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1

    .line 8
    iget-object v0, p0, Lcom/estrongs/fs/a;->h:Lcom/estrongs/android/util/TypedMap;

    if-nez v0, :cond_0

    .line 9
    new-instance v0, Lcom/estrongs/android/util/TypedMap;

    invoke-direct {v0}, Lcom/estrongs/android/util/TypedMap;-><init>()V

    iput-object v0, p0, Lcom/estrongs/fs/a;->h:Lcom/estrongs/android/util/TypedMap;

    .line 10
    :cond_0
    iget-object v0, p0, Lcom/estrongs/fs/a;->h:Lcom/estrongs/android/util/TypedMap;

    invoke-virtual {v0, p1, p2}, Lcom/estrongs/android/util/TypedMap;->put(Ljava/lang/String;Ljava/lang/Object;)Lcom/estrongs/android/util/TypedMap;

    move-result-object p1

    return-object p1
.end method

.method public a(J)V
    .locals 0

    .line 1
    iput-wide p1, p0, Lcom/estrongs/fs/a;->f:J

    return-void
.end method

.method public a(Lcom/estrongs/fs/l;)V
    .locals 0

    .line 5
    iput-object p1, p0, Lcom/estrongs/fs/a;->a:Lcom/estrongs/fs/l;

    return-void
.end method

.method public a(Z)V
    .locals 0

    .line 11
    iput-boolean p1, p0, Lcom/estrongs/fs/a;->l:Z

    return-void
.end method

.method public a(I)Z
    .locals 1

    const/4 v0, 0x1

    if-eq p1, v0, :cond_2

    const/4 v0, 0x2

    if-eq p1, v0, :cond_1

    const/4 v0, 0x4

    if-eq p1, v0, :cond_0

    const/4 p1, 0x0

    return p1

    .line 2
    :cond_0
    invoke-virtual {p0}, Lcom/estrongs/fs/a;->j()Z

    move-result p1

    return p1

    .line 3
    :cond_1
    invoke-virtual {p0}, Lcom/estrongs/fs/a;->l()Z

    move-result p1

    return p1

    .line 4
    :cond_2
    invoke-virtual {p0}, Lcom/estrongs/fs/a;->k()Z

    move-result p1

    return p1
.end method

.method public b()J
    .locals 2

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/fs/a;->lastModified()J

    move-result-wide v0

    return-wide v0
.end method

.method public b(I)V
    .locals 0

    .line 4
    iput p1, p0, Lcom/estrongs/fs/a;->k:I

    return-void
.end method

.method public b(J)V
    .locals 0

    .line 1
    iput-wide p1, p0, Lcom/estrongs/fs/a;->e:J

    return-void
.end method

.method public b(Z)V
    .locals 0

    .line 3
    iput-boolean p1, p0, Lcom/estrongs/fs/a;->n:Z

    return-void
.end method

.method public c()J
    .locals 5

    .line 1
    iget-wide v0, p0, Lcom/estrongs/fs/a;->g:J

    const-wide/16 v2, -0x1

    cmp-long v4, v0, v2

    if-nez v4, :cond_0

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/fs/a;->lastModified()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/estrongs/fs/a;->g:J

    .line 3
    :cond_0
    iget-wide v0, p0, Lcom/estrongs/fs/a;->g:J

    return-wide v0
.end method

.method public d()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/a;->c:Ljava/lang/String;

    return-object v0
.end method

.method public e()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/fs/a;->i:Z

    return v0
.end method

.method public equals(Ljava/lang/Object;)Z
    .locals 1

    if-ne p0, p1, :cond_0

    const/4 p1, 0x1

    return p1

    .line 1
    :cond_0
    instance-of v0, p1, Lcom/estrongs/fs/g;

    if-eqz v0, :cond_1

    .line 2
    check-cast p1, Lcom/estrongs/fs/g;

    .line 3
    iget-object v0, p0, Lcom/estrongs/fs/a;->c:Ljava/lang/String;

    if-eqz v0, :cond_1

    .line 4
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p1

    invoke-static {v0, p1}, Lcom/estrongs/android/util/h0;->i(Ljava/lang/String;Ljava/lang/String;)Z

    move-result p1

    return p1

    :cond_1
    const/4 p1, 0x0

    return p1
.end method

.method public f()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/fs/a;->l:Z

    return v0
.end method

.method public g()Z
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    const/4 v0, 0x0

    return v0
.end method

.method public getName()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/a;->d:Ljava/lang/String;

    if-nez v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/fs/a;->c:Ljava/lang/String;

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/fs/a;->d:Ljava/lang/String;

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/fs/a;->d:Ljava/lang/String;

    if-nez v0, :cond_1

    const-string v0, ""

    .line 4
    iput-object v0, p0, Lcom/estrongs/fs/a;->d:Ljava/lang/String;

    .line 5
    :cond_1
    iget-object v0, p0, Lcom/estrongs/fs/a;->d:Ljava/lang/String;

    return-object v0
.end method

.method public getPath()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/a;->b:Ljava/lang/String;

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->Q(Ljava/lang/String;)Ljava/lang/String;

    return-object v0
.end method

.method public h()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/estrongs/fs/a;->k:I

    return v0
.end method

.method public i()Lcom/estrongs/fs/l;
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/a;->a:Lcom/estrongs/fs/l;

    sget-object v1, Lcom/estrongs/fs/l;->M:Lcom/estrongs/fs/l;

    if-ne v0, v1, :cond_0

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/fs/a;->m()Lcom/estrongs/fs/l;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/fs/a;->a:Lcom/estrongs/fs/l;

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/fs/a;->a:Lcom/estrongs/fs/l;

    return-object v0
.end method

.method protected j()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/fs/a;->o:Z

    return v0
.end method

.method protected k()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/fs/a;->m:Z

    return v0
.end method

.method protected l()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/fs/a;->n:Z

    return v0
.end method

.method public lastModified()J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/estrongs/fs/a;->f:J

    return-wide v0
.end method

.method public length()J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/estrongs/fs/a;->e:J

    return-wide v0
.end method

.method protected m()Lcom/estrongs/fs/l;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/a;->a:Lcom/estrongs/fs/l;

    return-object v0
.end method

.method public setName(Ljava/lang/String;)V
    .locals 5

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/a;->d:Ljava/lang/String;

    if-nez v0, :cond_0

    if-eqz p1, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/estrongs/fs/a;->d:Ljava/lang/String;

    if-eqz v0, :cond_2

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    return-void

    .line 2
    :cond_2
    iget-object v0, p0, Lcom/estrongs/fs/a;->d:Ljava/lang/String;

    if-eqz v0, :cond_3

    .line 3
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/estrongs/fs/a;->b:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v3

    const/4 v4, 0x0

    invoke-virtual {v2, v4, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/estrongs/fs/a;->b:Ljava/lang/String;

    .line 4
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/estrongs/fs/a;->c:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v2, v4, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/fs/a;->c:Ljava/lang/String;

    .line 5
    :cond_3
    iput-object p1, p0, Lcom/estrongs/fs/a;->d:Ljava/lang/String;

    const/4 p1, -0x2

    .line 6
    iput p1, p0, Lcom/estrongs/fs/a;->k:I

    return-void
.end method

.method public toString()Ljava/lang/String;
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/fs/a;->d()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
